<?php
namespace app\admin\controller;
use think\Controller;
use think\Loader;
/**
 * 
 */
class Alpay extends Common
{
	
	public function barpay(){
		// Loader::import('alpay\f2fpay\model\builder\AlipayTradePayContentBuilder', EXTEND_PATH);
		// Loader::import('alpay\f2fpay\service\AlipayTradeService',EXTEND_PATH);
		// print_r($mail=new \AlipayTradePayContentBuilder());exit;
		print_r(require_once (EXTEND_PATH.'alpay/f2fpay/barpay_test.php'));
	}
	public function qrpay(){
		print_r(require_once (EXTEND_PATH.'alpay/f2fpay/qrpay_test.php'));
	}
	public function query(){
		print_r(require_once (EXTEND_PATH.'alpay/f2fpay/query_test.php'));
	}
	public function refund(){
		print_r(require_once (EXTEND_PATH.'alpay/f2fpay/refund_test.php'));
	}
}
